package com.ybg.common.redis;

public interface RedisDao {
    void setExpire(String key,Object value);
    <T> T getExpire(String key);
    boolean keyValid(String key);
    void setHash(String key, String subKey, Object value);
    <T> T getHash(String key, String subKey);
    boolean hashKeyValid(String key,String subKey);
}
